package com.supermacket.model;

public class People {

    private int pid;
    private String name;
    private String pwd;
    private int roal;

    public People() {
    }

    public People(int pid, String name, String pwd, int roal) {
        this.pid = pid;
        this.name = name;
        this.pwd = pwd;
        this.roal = roal;
    }

    public void show() {
        System.out.println(pid + "\t" + name + "\t" + pwd + "\t" + roal);
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public int getRoal() {
        return roal;
    }

    public void setRoal(int roal) {
        this.roal = roal;
    }
}